<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻中心</title>
<link rel="stylesheet" href="/home/css/style.css" >
<link rel="stylesheet" href="/home/css/jquery.bxslider.css" >
<link rel="stylesheet" href="/home/css/reset.css">
<script type="text/javascript" src="/home/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/home/js/jquery.bxslider.min.js"></script>
<script type="text/javascript" src="/home/js/jquery.kkPages.js"></script>
</head>

<body>
<!--头部-->
@include('home.header')
	
	<div id="News">
			<ul class="top_News">
				<li class="News_left">
				<div class="gywm_liebiao">
                    	<ul>
                        	<li class="gywm_lbname"><span class="spa">新闻中心 </span><span class="spb">News</span></li>
                            <li class="gywm_lb">
                            	<div>
                                	<ul>
                @foreach($category as $cat)
                    <li><a href="/newscenter/news?id={{$cat->id}}">{{$cat->name}}</a></li>

                @endforeach    
                                    </ul>
                                </div>
                            </li>
                        </ul>
                    </div>
					<div class="Name_liebiao">
                    	<ul>
                        	<li class="Name_lbname"><span class="spa">相关新闻 </span><span class="spb">Name</span></li>
                            <li class="Name_lb">
                            	<div>
                                	<ul>
                                	<li class="xw_Name"><a href="#"><b><font color="#FF6600">华商动力：专利质押,企业融资</font></b></a></li>
												<ul>
												<ol class="News_images"><img src="/home/images/xinwen.png" /></ol>
												<ol class="News_neirong">2013年08月07日，华商动力学院正式挂牌成立，至此华商动力集团将为...<P><a href="#"><font color="#FF6600">详情 >></font></a></p></ol>
												</ul>
									<li class="xw_Name"><a href="#">华商动力：专利质押,企业融资</a></li>
									<li class="xw_Name"><a href="#">华商动力：专利质押,企业融资</a></li>
									<li class="xw_Name"><a href="#">华商动力：专利质押,企业融资</a></li>
									<li class="xw_Name"><a href="#">华商动力：专利质押,企业融资</a></li>
                                    </ul>
                                </div>
                            </li>
                        </ul>
                    </div>
				</li>
				<li class="News_right" id="div1" style="display:block">
						<div class="gywm_xp"></div>
						<div class="gywm_rightName">
							<ul>
								<li class="gyName">企业新闻<span>News</span></li>
								<li class="gyyou"></li>
							</ul>
						</div>
						<div class="News_right_xw">
                            @foreach($data as $val)
								<div class="Newsinfo">
                                	<ul>
                                    	<li class="Newsinfo_Name">{{$val ->title}}</li>
                                        <li class="Newsinfo_Tmin">
                                        <span style="float: left; width:140px;">发布日期:{{date('Y-m-d',$val ->time)}}&nbsp;&nbsp;|</span>
                                        <span class="fx_xl">浏览：{{$val ->read}}</span>
                                        <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                                            <a class="bds_qzone"></a>
                                            <a class="bds_tsina"></a>
                                            <a class="bds_tqq"></a>
                                            <span class="bds_more">更多</span>
                                            </div>
                                        </li>
                                         
                                        <li class="Newsinfo_Neiron">{!!$val ->contents!!}</li>
                                        <li class="fanhui"><p><a href="/newscenter/news">返回列表</a></p></li>
                                        <li class="Newsinfo_sxpian" style="width: 450px;">
                                        	<ul >
                                            	<li class="Newsinfo_sxpianA">上一篇：
                                                    @if($idz ->isEmpty())
                                                    没有了
                                                    @else
                                                    @foreach ($idz as $id)
                                                   <a href="/newscenter/news_info?id={{$id ->id}}"> {{$id -> title}}</a>
                                                    @endforeach
                                                    @endif
                                                </li>
                                                <li>下一篇： 
                                                    @if($ids ->isEmpty())
                                                    没有了
                                                    @else
                                                    @foreach ($ids as $id)                                            
                                                    <a href="/newscenter/news_info?id={{$id ->id}}"> {{$id -> title}}</a>
                                                    @endforeach</li>
                                                     @endif
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                                 @endforeach
						</div>
					</li>
				</ul>
			</div>
                    
<!--底部-->   

 @include('home.footer')   

	<br />
</div>	
  <script type="text/javascript">
var timeout         = 500;
var closetimer		= 0;
var ddmenuitem      = 0;

function jsddm_open()
{	jsddm_canceltimer();
	jsddm_close();
	ddmenuitem = $(this).find('ul').eq(0).css('visibility', 'visible');
	
	}

function jsddm_close()
{	if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');
}

function jsddm_timer()
{	closetimer = window.setTimeout(jsddm_close, timeout);
   
}

function jsddm_canceltimer()
{	if(closetimer)
	{	window.clearTimeout(closetimer);
		closetimer = null;}}

$(document).ready(function()
{	$('#jsddm > li').bind('mouseover', jsddm_open);
	$('#jsddm > li').bind('mouseout',  jsddm_timer);});

document.onclick = jsddm_close;
  </script>	
<script language="JavaScript" type="text/JavaScript">
 function toggle(targetid){
 	document.getElementById("div"+targetid).style.display="block";        
 	for(var i =1;i<=8;i++){
		if(targetid != i){
			document.getElementById("div"+i).style.display="none";
		}
	}
 }
 </script>	
<SCRIPT src="/home/js/jquery.bxslider.min.js" type=text/javascript></SCRIPT>
<script type="text/javascript">

$('.newslist').kkPages({
   PagesClass:'li', //需要分页的元素
   PagesMth:12, //每页显示个数
   PagesNavMth:5 //显示导航个数
});


$('.bxslider1').bxSlider({
  auto:true,
  infiniteLoop: true,
  hideControlOnEnd: true
});
</script>
<!-- Baidu Button BEGIN -->
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6877940" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
<!-- Baidu Button END -->

</body>
</html>
